Legal Disclaimer:
This code is made available for informational purposes only. The code is provided as-is and MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS CODE.

Demo #2
This demo shows retrieving a binary file (image) using two methods, Base64 serialization and DIME. It also shows how to upload multiple files in a web page by using an embedded Windows control that calls a Web service to upload the files.

WARNING - Currently ANY file can be written using this demo, from Word documents to exe's. This sample is for informational purposes only, and is not meant to be used in a production setting.


Setup
______________
Software I'm assuming you have to run demos
(some demos may or may not have all of these requirements)
- Visual Studio.NET
- Web Service Enhancements - http://download.microsoft.com/download/1/6/7/16752dee-0619-4ab8-b6ab-9da5ce051d4e/WSE10SP1.exe
- Win 2000 Pro/Server OR Win XP Pro (needed to host web apps)

Configuring the application
______________
- Unzip the contents to a directory. You should see three directories
1) WS_binary - Contains the web services
2) WS_binary_webclient - Contains an ASP.NET page that calls the web service
3) FileDragAndDrop - A windows control that calls the web service

You should also see a Powerpoint file labeled Demo #2 which helps explain how the demos work.

Copy the directories to [drive]:\Inetpub\wwwroot\
- In IIS make directories 1 & 2 Virtual Directories

- The default security may need to change for some demos to work properly.  Only change these permissions for a controlled server in a development/test environment. 

For an overview of security/authentication in ASP.NET, visit the link below: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/authaspdotnet.asp

If you have questions, you can e-mail me at danielfe@microsoft.com. Just please understand that I may not be able to answer your question immediately.

Thanks,
-Dan

